package com.suray.wcs.service.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.suray.commin.core.utils.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author caox
 * @Describe
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcs_zone_rule")
public class ZoneRuleDB extends BaseModel implements Serializable {
    @TableId(value = "rule_id", type = IdType.AUTO)
    private Integer ruleId;
    /**
     * 起始X坐标
     */
    private Integer gridxStart;
    /**
     * 终点X坐标
     */
    private Integer gridxEnd;
    /**
     * 起始Y坐标
     */
    private Integer gridyStart;
    /**
     * 终点Y坐标
     */
    private Integer gridyEnd;
    /**
     * 当前Z
     */
    private String gridz;

    private String name;

    @TableField(exist = false)
    private List<Integer> gridzList;
}
